package cn.melonlib.cores.graphql.model.bean;

import lombok.Data;
import lombok.Getter;

@Data
public class GraphQLResultInfo {

    public GraphQLResultInfo(){
    }

    private long totalCount;

    private final long queryTime=System.currentTimeMillis();

    private String sign;

    private String message;

    public static GraphQLResultInfo create(String message,long totalCount,String sign){
        GraphQLResultInfo graphQLResultInfo=new GraphQLResultInfo();
        graphQLResultInfo.message=message;
        graphQLResultInfo.totalCount=totalCount;
        graphQLResultInfo.sign=sign;
        return graphQLResultInfo;
    }
}
